/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.video.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.video.entity.Video;
import com.jeeplus.modules.video.mapper.VideoMapper;

/**
 * 视频Service
 * @author zhych
 * @version 2021-08-23
 */
@Service
@Transactional(readOnly = true)
public class VideoService extends CrudService<VideoMapper, Video> {

	public Video get(String id) {
		return super.get(id);
	}
	
	public List<Video> findList(Video video) {
		return super.findList(video);
	}
	
	public Page<Video> findPage(Page<Video> page, Video video) {
		return super.findPage(page, video);
	}
	
	@Transactional(readOnly = false)
	public void save(Video video) {
		super.save(video);
	}
	
	@Transactional(readOnly = false)
	public void delete(Video video) {
		super.delete(video);
	}
	
}